const Sys = {
  path: "/sys",
  meta: {
    title: "系统管理",
    sort: 9,
  },
  redirect: "/system/org&perm/user",
  img: new URL("@/assets/image/ico/sys.png",
    import.meta.url).href,
  imgActive: new URL(
    "@/assets/image/ico/sys-blue.png",
    import.meta.url
  ).href,
  //   component: () => import("@/view/sys/index.vue"),
  children: [{
      path: "/org&perm",
      meta: {
        title: "组织权限",
        sort: 1,
      },
      //   component: () =>
      //     import("@/view/sys/org&perm/index.vue"),
      children: [{
          path: "/system/org&perm/user",
          meta: {
            title: "人员定义",
            sort: 1,
          },
          component: () =>
            import(
              "@/view/sys/org&perm/user/index.vue"
            ),
        },
        {
          path: "/system/org&perm/role",
          meta: {
            title: "角色赋权",
            sort: 2
          },
          component: () => import("@/view/sys/org&perm/role/index.vue")
        },
        {
          path: '/system/org&perm/dept',
          meta: {
            title: "部门架构",
            sort: 3,
          },
          component: () => import("@/view/sys/org&perm/dept/index.vue")
        },
        {
          path: '/system/org&perm/menu',
          meta: {
            title: "菜单定制",
            sort: 4
          },
          component: () => import("@/view/sys/org&perm/menu/index.vue")
        },
        {
          path: "/system/org&perm/dict",
          meta: {
            title: '字典管理',
            sort: 5,
          },
          component: () => import("@/view/sys/org&perm/dict/index.vue")
        }
      ],
    },
    {
      path: "/system/networkMonitoring",
      meta: {
        title: "网络监控",
        sort: 2,
      },
      img: new URL(
        "@/assets/image/ico/roadsideParkings/deviceManagement.png",
        import.meta.url
      ).href,
      imgActive: new URL(
        "@/assets/image/ico/roadsideParkings/deviceManagement-white.png",
        import.meta.url
      ).href,
      //   component: () => import("@/view/sys/networkMonitoring/index.vue"),
      children: [{
          path: "/system/networkDevice",
          meta: {
            title: "网络设备关联",
            sort: 1,
          },
          component: () =>
            import(
              "@/view/sys/networkMonitoring/networkDevice/index.vue"
            ),
        },
        {
          path: "/system/SIMCard",
          meta: {
            title: "SIM卡",
            sort: 2,
          },
          component: () =>
            import(
              "@/view/sys/networkMonitoring/SIMCard/index.vue"
            ),
        },
        {
          path: "/system/broadBand",
          meta: {
            title: "宽带",
            sort: 3,
          },
          component: () =>
            import(
              "@/view/sys/networkMonitoring/broadBand/index.vue"
            ),
        },
      ],
    },
    {
      path: "/system/simulator",
      meta: {
        title: "路边停车模拟器",
        sort: 3,
      },
      component: () =>
        import("@/view/sys/parkingSimulator/index.vue"),
    },
  ],
};

export default Sys;